package com.crowntit.infrastructure.gateway;

import com.crowntit.infrastructure.gateway.dto.gbm.*;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface IGroupBuyMarketService {

    @POST("api/v1/gbm/trade/lock_market_pay_order")
    Call<Response<GroupBuyMarketLockResponseDTO>> lockMarketPayOrder(@Body GroupBuyMarketLockRequestDTO requestDTO);

    @POST("api/v1/gbm/trade/settlement_market_pay_order")
    Call<Response<MarketTradeSettlementOrderResponseDTO>> settlementMarketTradeOrder(@Body MarketTradeSettlementOrderRequestDTO requestDTO);

    @POST("api/v1/gbm/index/query_group_buy_market_config")
    Call<Response<QueryProductConfigResDTO>> queryGoodsConfig(@Body QueryProductConfigReqDTO requestDTO);
}
